//
//  NetworkError.m
//  InvestOC
//
//  Created by BornSoftware on 14-8-6.
//  Copyright (c) 2014年 chenliang. All rights reserved.
//

#import "NetworkError.h"

@implementation NetworkError

+(NSString *)networkErrorString:(NSError *)error
{
    NSString *err;
    switch (error.code) {
        case -1009:
            err = @"网络连接出错";
            break;
        case -1004:
            err = @"网络连接出错";
            break;
        case 1:
            err = @"网络连接出错";
            break;
            
        default:
            break;
    }
    
    return err;
}

@end
